package cn.mesmile.flow.modules.processhistory.controller;

import cn.mesmile.flow.modules.processhistory.model.dto.HistoryQueryDTO;
import cn.mesmile.flow.modules.processhistory.service.ProcessHistoryService;
import lombok.AllArgsConstructor;
import org.springframework.web.bind.annotation.*;

/**
 * @author zb
 * @date 2020/12/7 18:10
 * @Description
 */
@AllArgsConstructor
@RequestMapping("/api/v1/history")
@RestController
public class ProcessHistoryController {

    private final ProcessHistoryService processHistoryService;


    @PostMapping("/get")
    public void get(@RequestBody HistoryQueryDTO historyQueryDTO) {
        processHistoryService.get(historyQueryDTO);
    }



}
